package com.jindianjichi.subject.domain.convert;
import com.jindianjichi.basic.entity.SubjectInfo;
import com.jindianjichi.basic.entity.SubjectLabel;
import com.jindianjichi.subject.domain.entity.SubjectInfoBo;
import com.jindianjichi.subject.domain.entity.SubjectLabelBo;
import com.jindianjichi.subject.domain.entity.SubjectOptionBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoConvert {
    SubjectInfoConvert instance=Mappers.getMapper(SubjectInfoConvert.class);
   SubjectInfo convertInfo(SubjectInfoBo subjectInfoBo);
   List<SubjectInfoBo> convertInfoList(List<SubjectInfo> subjectInfoList);
    SubjectInfoBo convertOptionAndInfoToBo(SubjectOptionBo subjectOptionBo,SubjectInfo subjectInfo);

}
